package com.young4j.seckill.dao;

import com.young4j.seckill.entity.SuccessKilled;

public interface SuccessKilledDao {
	/**
	 * 
	 * @Description (插入购买明细)
	 * @param seckillId
	 * @param userPhone
	 * @return 插入的行数
	 */
	int insertSuccessKilled(long seckillId,long userPhone );
	/**
	 * 
	 * @Description (根据id查询SuccessKilled并携带秒杀产品对象实体)
	 * @param seckillId
	 * @return
	 */
	SuccessKilled queryByIdWithSeckill(long seckillId,long userPhone);
}
